module.exports = (app)=>{
  app.router.post('/api/v1/login', app.controller.user.login);
  app.router.post('/api/v1/register', app.controller.user.register);
  app.router.post('/api/v1/forget_password', app.controller.user.forgetPassword);
  app.router.post('/api/v1/change_password', app.controller.user.changePassword);
  app.router.post('/api/v1/upload_photo', app.controller.user.updatePhoto);
  app.router.post('/api/v1/change_tel', app.controller.user.changeTel);
  app.router.post('/api/v1/change_name', app.controller.user.changeName);
  app.router.post('/api/v1/change_gender', app.controller.user.changeGender);
  app.router.post('/api/v1/change_sign', app.controller.user.changeSign);
  app.router.post('/api/v1/change_location', app.controller.user.changeLocation);
  app.router.get('/api/v1/get_personal_info', app.controller.user.getPersonalInfo)
}